<template>
    <div>
      <van-tabbar v-model="active" @change="Barchange">
        <van-tabbar-item icon="wap-home" to="/home">主页</van-tabbar-item>
        <van-tabbar-item icon="friends" to="/info">我的</van-tabbar-item>
      </van-tabbar>
    </div>
</template>

<script>


export default {
name: "Toolbar",
  data(){
    return{
      active: 0
    }
  },methods:{
    Barchange(index){
    }
  }
}
</script>

<style scoped>

</style>